<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
         <link rel="stylesheet" href="${initParam.root}/css/table.css" type="text/css">

<table border='1' class="registerMemberTable"  style="margin: 0 auto ; width: 600px"  >
      <tr>
         <td>To : ${requestScope.postBoxVO.receiverId } </td>      
         <td>From :${requestScope.postBoxVO.senderId }</td>      
             <c:choose>
           <c:when test="${requestScope.postBoxVO.readCheck==0}">
             <td class="name">안읽음</td>   
          </c:when>
          <c:otherwise>
                <td class="name">읽음</td>   
          </c:otherwise>
       </c:choose>
   
     </tr>
     <tr>
        <td colspan="3">Title : ${requestScope.postBoxVO.postTitle}<input type="hidden" id="postTitle" value="${requestScope.postBoxVO.postTitle}"></td>
     </tr>
       <tr>
        <td>Content</td><td colspan="2"><pre> <textarea rows="10" cols="40" name="messageContent" id="messageContent" readonly >${requestScope.postBoxVO.postContent}</textarea></pre></td>
     </tr>
     <c:if test="${param.check=='receive' }">
     <tr><td colspan="3" align="center">
<a href="${initParam.root}common/postAnswerView.do?postNum=${requestScope.postBoxVO.postNumber}" onClick="window.open(this.href, '', 'width=500, height=400'); return false;" ><img src="${initParam.root }img/answer_btn.jpg" ></a>
      </td></tr>
      </c:if>      
      </table>
      <input type="hidden" name="receiveAuthNumber" value="${requestScope.postBoxVO.sendAuthNumber }">
      <input type="hidden" name="sendAuthNumber" value="${requestScope.postBoxVO.receiveAuthNumber }">
      x